public class Matrix {
	private native void print(int depth);
	private native int [] Matrix1dMultiply(int [] arr);
	private native float [][] Matrix2dMultiply(float [][] arr);
	public static void main(String[] args)
	{

		new Matrix().print(4);

		int [] aiInp = new int[100];
		for (int i = 0;i<100;i++)
			aiInp[i] = i;

		int [] aiOut = new Matrix().Matrix1dMultiply(aiInp);

		for (int i = 0;i<100;i++)
			System.out.print("output=\t" + aiOut[i]+"\n");
		
		System.out.println("Hello World");
	}
	
	static { 
		try { 
			System.loadLibrary("Matrix"); 

		} catch (UnsatisfiedLinkError e)
		{
			System.err.println("Native code library failed to load\n"+e);
		}
	}
		
}
